package com.enjoyor.soa.traffic.rest.efoms.dubbo.impl;

import org.springframework.stereotype.Component;

import com.alibaba.dubbo.config.annotation.Reference;
import com.enjoyor.soa.traffic.api.service.dubbo.efoms.IDubboCheckReportService;
import com.enjoyor.soa.traffic.rest.efoms.dubbo.ICheckReportConsumService;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

@Component
public class CheckReportConsumService implements ICheckReportConsumService{

	@Reference(version = "1.0.0",timeout = 10000)
	private IDubboCheckReportService iDubboCheckReportService;
	@Override
	public ResultPojo getCheckReport(String devTypeCode, String startTime, String endTime, Page page,
			String searchFlag) {
		// TODO Auto-generated method stub
		return iDubboCheckReportService.getCheckReport(devTypeCode, startTime, endTime, page, searchFlag);
	}

}
